home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / fsavx20d / FORM3.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-04-03  |  9.9 KB  |  313 lines

  1. VERSION 5.00
  2. Object = "{75C038D3-EA57-11D2-A3BC-000000000000}#1.0#0"; "fsScroll5D.ocx"
  3. Begin VB.Form frmOrder 
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "Scrolling Order Form"
  6.    ClientHeight    =   3195
  7.    ClientLeft      =   45
  8.    ClientTop       =   330
  9.    ClientWidth     =   4815
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   3195
  14.    ScaleWidth      =   4815
  15.    ShowInTaskbar   =   0   'False
  16.    StartUpPosition =   3  'Windows Default
  17.    Begin FishheadScroll.fsScroll fsScroll1 
  18.       Height          =   2655
  19.       Left            =   90
  20.       TabIndex        =   1
  21.       ToolTipText     =   "fsScroll"
  22.       Top             =   90
  23.       Width           =   4635
  24.       _ExtentX        =   8176
  25.       _ExtentY        =   4683
  26.       AdjustTop       =   300
  27.       MouseIcon       =   "Form3.frx":0000
  28.       Begin VB.ComboBox Combo1 
  29.          Height          =   315
  30.          ItemData        =   "Form3.frx":031A
  31.          Left            =   1200
  32.          List            =   "Form3.frx":0324
  33.          Style           =   2  'Dropdown List
  34.          TabIndex        =   29
  35.          Top             =   5000
  36.          Width           =   3000
  37.       End
  38.       Begin VB.TextBox Text1 
  39.          Height          =   315
  40.          Index           =   11
  41.          Left            =   1200
  42.          TabIndex        =   27
  43.          Top             =   4600
  44.          Width           =   765
  45.       End
  46.       Begin VB.TextBox Text1 
  47.          Height          =   315
  48.          Index           =   10
  49.          Left            =   1200
  50.          TabIndex        =   25
  51.          Top             =   4200
  52.          Width           =   3000
  53.       End
  54.       Begin VB.TextBox Text1 
  55.          Height          =   315
  56.          Index           =   9
  57.          Left            =   1200
  58.          TabIndex        =   23
  59.          Top             =   3800
  60.          Width           =   3000
  61.       End
  62.       Begin VB.OptionButton Option1 
  63.          Caption         =   "MasterCard"
  64.          Height          =   315
  65.          Index           =   1
  66.          Left            =   2600
  67.          TabIndex        =   21
  68.          Top             =   3400
  69.          Width           =   1335
  70.       End
  71.       Begin VB.OptionButton Option1 
  72.          Caption         =   "Visa"
  73.          Height          =   315
  74.          Index           =   0
  75.          Left            =   1200
  76.          TabIndex        =   20
  77.          Top             =   3400
  78.          Width           =   1215
  79.       End
  80.       Begin VB.TextBox Text1 
  81.          Height          =   315
  82.          Index           =   8
  83.          Left            =   1200
  84.          TabIndex        =   19
  85.          Top             =   3000
  86.          Width           =   3000
  87.       End
  88.       Begin VB.TextBox Text1 
  89.          Height          =   315
  90.          Index           =   7
  91.          Left            =   1200
  92.          TabIndex        =   17
  93.          Top             =   2600
  94.          Width           =   3000
  95.       End
  96.       Begin VB.TextBox Text1 
  97.          Height          =   315
  98.          Index           =   6
  99.          Left            =   1200
  100.          TabIndex        =   15
  101.          Top             =   2200
  102.          Width           =   3000
  103.       End
  104.       Begin VB.TextBox Text1 
  105.          Height          =   315
  106.          Index           =   5
  107.          Left            =   2970
  108.          TabIndex        =   13
  109.          Top             =   1800
  110.          Width           =   1215
  111.       End
  112.       Begin VB.TextBox Text1 
  113.          Height          =   315
  114.          Index           =   4
  115.          Left            =   1200
  116.          TabIndex        =   11
  117.          Top             =   1800
  118.          Width           =   495
  119.       End
  120.       Begin VB.TextBox Text1 
  121.          Height          =   315
  122.          Index           =   3
  123.          Left            =   1200
  124.          TabIndex        =   9
  125.          Top             =   1400
  126.          Width           =   3000
  127.       End
  128.       Begin VB.TextBox Text1 
  129.          Height          =   315
  130.          Index           =   2
  131.          Left            =   1200
  132.          TabIndex        =   7
  133.          Top             =   1000
  134.          Width           =   3000
  135.       End
  136.       Begin VB.TextBox Text1 
  137.          Height          =   315
  138.          Index           =   1
  139.          Left            =   1200
  140.          TabIndex        =   5
  141.          Top             =   600
  142.          Width           =   3000
  143.       End
  144.       Begin VB.TextBox Text1 
  145.          Height          =   315
  146.          Index           =   0
  147.          Left            =   1200
  148.          TabIndex        =   3
  149.          Top             =   200
  150.          Width           =   3000
  151.       End
  152.       Begin VB.Label Label2 
  153.          Caption         =   $"Form3.frx":0346
  154.          Height          =   825
  155.          Left            =   900
  156.          TabIndex        =   30
  157.          Top             =   5550
  158.          Width           =   3255
  159.       End
  160.       Begin VB.Label Label1 
  161.          Caption         =   "Name:"
  162.          Height          =   255
  163.          Index           =   12
  164.          Left            =   180
  165.          TabIndex        =   28
  166.          Top             =   5060
  167.          Width           =   915
  168.       End
  169.       Begin VB.Label Label1 
  170.          Caption         =   "Quantity:"
  171.          Height          =   255
  172.          Index           =   11
  173.          Left            =   180
  174.          TabIndex        =   26
  175.          Top             =   4660
  176.          Width           =   915
  177.       End
  178.       Begin VB.Label Label1 
  179.          Caption         =   "Expires:"
  180.          Height          =   255
  181.          Index           =   10
  182.          Left            =   180
  183.          TabIndex        =   24
  184.          Top             =   4260
  185.          Width           =   915
  186.       End
  187.       Begin VB.Label Label1 
  188.          Caption         =   "Number:"
  189.          Height          =   255
  190.          Index           =   9
  191.          Left            =   180
  192.          TabIndex        =   22
  193.          Top             =   3860
  194.          Width           =   915
  195.       End
  196.       Begin VB.Label Label1 
  197.          Caption         =   "E-Mail:"
  198.          Height          =   255
  199.          Index           =   8
  200.          Left            =   180
  201.          TabIndex        =   18
  202.          Top             =   3060
  203.          Width           =   915
  204.       End
  205.       Begin VB.Label Label1 
  206.          Caption         =   "Fax:"
  207.          Height          =   255
  208.          Index           =   7
  209.          Left            =   180
  210.          TabIndex        =   16
  211.          Top             =   2660
  212.          Width           =   915
  213.       End
  214.       Begin VB.Label Label1 
  215.          Caption         =   "Phone:"
  216.          Height          =   255
  217.          Index           =   6
  218.          Left            =   180
  219.          TabIndex        =   14
  220.          Top             =   2260
  221.          Width           =   915
  222.       End
  223.       Begin VB.Label Label1 
  224.          Caption         =   "Zip Code:"
  225.          Height          =   255
  226.          Index           =   5
  227.          Left            =   1920
  228.          TabIndex        =   12
  229.          Top             =   1860
  230.          Width           =   915
  231.       End
  232.       Begin VB.Label Label1 
  233.          Caption         =   "State:"
  234.          Height          =   255
  235.          Index           =   4
  236.          Left            =   180
  237.          TabIndex        =   10
  238.          Top             =   1860
  239.          Width           =   915
  240.       End
  241.       Begin VB.Label Label1 
  242.          Caption         =   "City:"
  243.          Height          =   255
  244.          Index           =   3
  245.          Left            =   180
  246.          TabIndex        =   8
  247.          Top             =   1460
  248.          Width           =   915
  249.       End
  250.       Begin VB.Label Label1 
  251.          Caption         =   "Address 2:"
  252.          Height          =   255
  253.          Index           =   2
  254.          Left            =   180
  255.          TabIndex        =   6
  256.          Top             =   1060
  257.          Width           =   915
  258.       End
  259.       Begin VB.Label Label1 
  260.          Caption         =   "Address 1:"
  261.          Height          =   255
  262.          Index           =   1
  263.          Left            =   180
  264.          TabIndex        =   4
  265.          Top             =   660
  266.          Width           =   915
  267.       End
  268.       Begin VB.Label Label1 
  269.          Caption         =   "Name:"
  270.          Height          =   255
  271.          Index           =   0
  272.          Left            =   180
  273.          TabIndex        =   2
  274.          Top             =   260
  275.          Width           =   915
  276.       End
  277.    End
  278.    Begin VB.CommandButton Command1 
  279.       Caption         =   "OK"
  280.       Height          =   315
  281.       Left            =   3540
  282.       TabIndex        =   0
  283.       Top             =   2820
  284.       Width           =   1200
  285.    End
  286. Attribute VB_Name = "frmOrder"
  287. Attribute VB_GlobalNameSpace = False
  288. Attribute VB_Creatable = False
  289. Attribute VB_PredeclaredId = True
  290. Attribute VB_Exposed = False
  291. Option Explicit
  292. ' ********************************************************
  293. ' ** Fishhead Software
  294. ' ********************************************************
  295. ' ** This sample shows how to create a scrollable view
  296. ' ** with a fixed area, typical of small data entry forms.
  297. ' ********************************************************
  298. Private Sub Command1_Click()
  299.     Unload Me
  300. End Sub
  301. Private Sub Form_Load()
  302.     ' ***********************************************************
  303.     ' ** In order to display the text that is after the ComboBox
  304.     ' ** we need to increase the AdjustBottom value.  This way,
  305.     ' ** the user will see the message once the combobox gets the
  306.     ' ** focus.
  307.     ' ***********************************************************
  308.     fsScroll1.SetControlAdjustValues Combo1.hWnd, 3000, 0, 750, 1500
  309. End Sub
  310. Private Sub Form_Unload(Cancel As Integer)
  311.     Set frmOrder = Nothing
  312. End Sub
  313.